﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Wix.Aura.Common {
	public class Icon : IXmlSerializable {
		private Icon() { }
		public Icon(string id) {
			Id = id;
		}

		public string Id { get; set; }
		public string SourceFile { get; set; }

		public System.Xml.Schema.XmlSchema GetSchema() {
			throw new NotImplementedException();
		}

		public void ReadXml(System.Xml.XmlReader reader) {
			throw new NotImplementedException();
		}

		public void WriteXml(System.Xml.XmlWriter writer) {
			writer.WriteStartElement("Icon");
			writer.WriteAttribute("Id", Id);
			writer.WriteAttribute("SourceFile", SourceFile);
			writer.WriteEndElement();
		}
	}
}
